package com.coral.login.module.maya.android.param;

import com.coral.login.module.core.base.IExchargeParam;

public class MayaExchargeParam implements IExchargeParam {
	
	//sdk方订单号
	private String orderid;
	//CP订单号
	private String cporderid;
	//渠道号
	private String channelid;
	//渠道订单号, 只做加密验证,CP不需理会
	private String channelorderid;
	//渠道userid
	private String channeluserid;
	//服务端时间戳
	private String time;
	//ukey接口唯一标识
	private String ukey;
	//货币类型
	private String currency;
	//充值金额
	private String money;
	//区服ID
	private String serverid;
	//扩展参数
	private String extension;
	//签名参数
	private String sign;
	
	public MayaExchargeParam() {}
	
	public String getOrderid() {
		return orderid;
	}

	public void setOrderid(String orderid) {
		this.orderid = orderid;
	}

	public String getCporderid() {
		return cporderid;
	}

	public void setCporderid(String cporderid) {
		this.cporderid = cporderid;
	}

	public String getChannelid() {
		return channelid;
	}

	public void setChannelid(String channelid) {
		this.channelid = channelid;
	}

	public String getChannelorderid() {
		return channelorderid;
	}

	public void setChannelorderid(String channelorderid) {
		this.channelorderid = channelorderid;
	}

	public String getChanneluserid() {
		return channeluserid;
	}

	public void setChanneluserid(String channeluserid) {
		this.channeluserid = channeluserid;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getUkey() {
		return ukey;
	}

	public void setUkey(String ukey) {
		this.ukey = ukey;
	}

	public String getCurrency() {
		return currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	public String getMoney() {
		return money;
	}

	public void setMoney(String money) {
		this.money = money;
	}

	public String getServerid() {
		return serverid;
	}

	public void setServerid(String serverid) {
		this.serverid = serverid;
	}

	public String getExtension() {
		return extension;
	}

	public void setExtension(String extension) {
		this.extension = extension;
	}

	public String getSign() {
		return sign;
	}

	public void setSign(String sign) {
		this.sign = sign;
	}

	@Override
	public long getGameOrderId() {
		return Long.parseLong(cporderid);
	}

	@Override
	public String getChOrderId() {
		return orderid;
	}

	@Override
	public String toString() {
		return "MayaExchargeParam [orderid=" + orderid + ", cporderid=" + cporderid + ", channelid=" + channelid + ", channelorderid=" + channelorderid + ", channeluserid=" + channeluserid + ", time=" + time + ", ukey=" + ukey + ", currency=" + currency + ", money=" + money + ", serverid=" + serverid + ", extension="
				+ extension + ", sign=" + sign + "]";
	}
	
}
